<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>解构赋值（对象匹配）</title>
</head>

<body>
    <script>
        // 相当于把变量用数组装起来
        let [a, b, c] = [{
                "name": "张三",
                "age": 4
            },
            [5, 6, 7],
            1
        ]
        console.log(a);
        console.log(b);
        console.log(c);
    </script>
</body>

</html>